package com.sina.weibo;

import android.content.Intent;
import android.os.Bundle;
import android.view.MotionEvent;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.TextView;

public class ChoiceActivity extends ScreenOrientationBaseActivity
  implements View.OnClickListener
{
  public static final String EXTRA_LAUCH_MODE = "com.sina.weibo.ChoiceActivity.EXTRA_LAUCH_MODE";
  public static final int MODE_DETAIL_POPUP_WINDOW = 1;
  public static final int MODE_NONE = 255;
  private int lauchMode;
  private boolean loaded = 0;

  private void prepareDetailWindow(Intent paramIntent)
  {
    if (paramIntent.getBooleanExtra("EXTRA_IS_SELF", 0));
    for (int i = 0; ; i = 8)
    {
      TextView localTextView = (TextView)findViewById(2131623954);
      localTextView.setOnClickListener(this);
      localTextView.setVisibility(i);
      findViewById(2131623955).setVisibility(i);
      findViewById(2131623956).setOnClickListener(this);
      findViewById(2131623952).setOnClickListener(this);
      findViewById(2131623953).setOnClickListener(this);
      findViewById(2131623951).setOnClickListener(this);
      findViewById(2131623950).setVisibility(0);
      return;
    }
  }

  public void onClick(View paramView)
  {
    switch (paramView.getId())
    {
    case 2131623955:
    default:
    case 2131623952:
    case 2131623954:
    case 2131623951:
    case 2131623956:
    case 2131623953:
    }
    while (true)
    {
      return;
      Intent localIntent1 = new Intent().putExtra("EXTRA_RESULT_SELECTED", 1);
      setResult(-1, localIntent1);
      finish();
      continue;
      Intent localIntent2 = new Intent().putExtra("EXTRA_RESULT_SELECTED", 2);
      setResult(-1, localIntent2);
      finish();
      continue;
      Intent localIntent3 = new Intent().putExtra("EXTRA_RESULT_SELECTED", 3);
      setResult(-1, localIntent3);
      finish();
      continue;
      finish();
      continue;
      Intent localIntent4 = new Intent().putExtra("EXTRA_RESULT_SELECTED", 4);
      setResult(-1, localIntent4);
      finish();
    }
  }

  protected void onCreate(Bundle paramBundle)
  {
    super.onCreate(paramBundle);
    setContentView(2130903046);
    Intent localIntent = getIntent();
    int i = localIntent.getIntExtra("com.sina.weibo.ChoiceActivity.EXTRA_LAUCH_MODE", -1);
    this.lauchMode = i;
    switch (this.lauchMode)
    {
    default:
    case 1:
    }
    while (true)
    {
      return;
      prepareDetailWindow(localIntent);
    }
  }

  public boolean onTouchEvent(MotionEvent paramMotionEvent)
  {
    finish();
    return super.onTouchEvent(paramMotionEvent);
  }

  public void onWindowFocusChanged(boolean paramBoolean)
  {
    super.onWindowFocusChanged(paramBoolean);
    if ((!this.loaded) && (paramBoolean))
      switch (this.lauchMode)
      {
      default:
      case 1:
      }
    while (true)
    {
      return;
      View localView = findViewById(2131623950);
      Animation localAnimation = AnimationUtils.loadAnimation(this, 2130968576);
      localView.startAnimation(localAnimation);
    }
  }
}

/* Location:           D:\Program Files\eclipse\apktool-r01-3\新浪微博\classes.dex.dex2jar.jar
 * Qualified Name:     com.sina.weibo.ChoiceActivity
 * JD-Core Version:    0.6.0
 */